package com.hanhai.zrb.backend.admin.model;

import java.util.List;

public class Privilege {

	private Integer acl;

	/**
	 * 权限名称
	 */
	private String name;
	

	private String enname;

	/**
	 * 路径
	 */
	private String url;

	/**
	 * 级别
	 */
	private Integer level;

	/**
	 * 自身关联
	 */
	private Integer pacl;

	private Integer sort;

	private List<Privilege> children;
	
	public List<Privilege> getChildren() {
		return children;
	}

	public void setChildren(List<Privilege> children) {
		this.children = children;
	}

	public void setIsmenu(Integer ismenu) {
		this.ismenu = ismenu;
	}

	private Integer ismenu;

	public Integer getIsmenu() {
		return ismenu;
	}

	public void setIsMenu(Integer ismenu) {
		this.ismenu = ismenu;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer privilegeLevel) {
		this.level = privilegeLevel;
	}

	public Integer getAcl() {
		return acl;
	}

	public void setAcl(Integer acl) {
		this.acl = acl;
	}

	public Integer getPacl() {
		return pacl;
	}

	public void setPacl(Integer parentAcl) {
		this.pacl = parentAcl;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

	public String getEnname() {
		return enname;
	}

	public void setEnname(String enname) {
		this.enname = enname;
	}
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
